Yay_Currency\WooCommerceCurrency B

Total Complexity 77
Dependencies 1
Dependents 1
Total lines 346
Lines of code 293
Logical lines of code 168
Comment lines 2
Methods 24
Properties 6

Methods 24

Method Rating Maintainability Complexity Lines of code
add_woocommerce_filters()
S
47 6 33
conditional_payment_gateways()
S
53 6 24
doHooks()
S
48 3 35
get_country_info_from_IP()
S
55 4 19
change_existing_currency_symbol()
S
63 5 10
custom_raw_price()
S
64 5 10
change_number_decimals()
S
65 5 9
change_decimal_separator()
S
65 5 9
change_thousand_separator()
S
65 5 9
change_currency_position()
S
65 5 9
custom_mini_cart_price()
S
67 4 7
custom_checkout_order_subtotal()
S
62 3 12
custom_checkout_order_total()
S
62 3 12
get_currency_by_ID()
S
54 2 21
calculate_price_by_currency_html()
S
60 2 12
add_order_currency_meta()
S
69 2 7
custom_checkout_product_subtotal()
S
63 2 10
getInstance()
S
70 2 7
calculate_price_by_currency()
S
67 2 6
add_notice_checkout_payment_methods()
S
66 2 7
get_currency_symbol()
S
73 1 5
get_current_and_default_currency()
S
65 1 9
get_currencies_post_type()
S
64 1 10
__construct()
S
98 1 1